package com.glxt.mapper;

import com.glxt.model.UserBean;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
@Mapper
public interface UserMapper {
    List<UserBean> findAll();
    UserBean login(String userName, String userPass);
    int register(UserBean users);
    int delUser(int id);
    int updateUser(UserBean users);
    UserBean findByid(int id);
}
